package satirGame;
//import java.io.*;

import java.io.FileNotFoundException;

import javax.swing.JFrame;

public abstract class Event extends java.lang.Object
{
	private String question;
	
	private int score;
	protected int newQuestionIndex=0; //
	
	Object[] options;
	
	public abstract void loadQuestion(JFrame gameFrame) throws FileNotFoundException;
 
	//set question
	public void setEventquestion(String q){
		question = q;
	}
	
	
	public String getEventquestion() {
		return question;
	}
	
	public void setScore(int s){
		score=s;
	}
	
	public int getScore(){
		return score;
	}
	
	public void setQuestionIndex(int s){
		newQuestionIndex=s;
	}
	
	public int getQuestionIndex(){
		return newQuestionIndex;
	}
	
	public abstract void QuestionDialog(JFrame gameFrame) throws FileNotFoundException;
}



/*----------------Version detail----------------------------

Modified time: 02:37_05/03/2012

Editor: Lam Kit Yung

Content: 

Add variables:

Add new functions


-----------------------------------------------------------*/

